package com.helloworld.common.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.helloworld.common.dao.CommonCodeDao;
import com.helloworld.common.service.CommonCodeService;

@Service(value = "commonCodeService") 
public class CommonCodeServiceImpl implements CommonCodeService {

	@Autowired
	CommonCodeDao commonCodeDao;
	
	@Override
	public Map<String, List<Map<String, String>>> getCodeList(String gp) {
		return commonCodeDao.list(gp);
	}

}
